export interface UserQuery extends PageQuery {
  username: string;
  gender: number;
  idCard: string;
  email: string;
  address: string;
  createTime: string[];
  status: number;
}

export interface UserPageVO {
  id: string;
  username: string;
  gender: number;
  user: { detail: { age: number } };
  idCard: string;
  email: string;
  address: string;
  createTime: string;
  status: number;
  avatar: string;
  photo: any[];
  children?: UserPageVO[];
}

export interface UserForm extends Partial<UserPageVO> {
  age?: number;
}